<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Rodada
 *
 * @author Adriano
 */
class Rodada {
    var $id_rodada = null;
    var $id_liga = null;
    var $numero = null;
    var $data = null;
    
    function __construct($id_rodada, $id_liga, $numero, $data) {
        $this->id_rodada = $id_rodada;
        $this->id_liga = $id_liga;
        $this->numero = $numero;
        $this->data = $data;
    }
    
    public function getData() {
        return $this->data;
    }

    public function setData($data) {
        $this->data = $data;
    }

    
        public function getNumero() {
        return $this->numero;
    }

    public function setNumero($numero) {
        $this->numero = $numero;
    }

        public function getId_rodada() {
        return $this->id_rodada;
    }

    public function setId_rodada($id_rodada) {
        $this->id_rodada = $id_rodada;
    }

    public function getId_liga() {
        return $this->id_liga;
    }

    public function setId_liga($id_liga) {
        $this->id_liga = $id_liga;
    }

    function toString(){
        return "{id:'$this->id_rodada', id_liga:'$this->id_liga', numero:'$this->numero', data:'$this->data'}";
    }

}

?>
